package com.cskaoyan.mapper;

import com.cskaoyan.bean.po.ohter.MarketSystem;
import com.cskaoyan.bean.po.ohter.MarketSystemExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MarketSystemMapper {
    long countByExample(MarketSystemExample example);

    int deleteByExample(MarketSystemExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketSystem row);

    int insertSelective(MarketSystem row);

    List<MarketSystem> selectByExample(MarketSystemExample example);

    MarketSystem selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("row") MarketSystem row, @Param("example") MarketSystemExample example);

    int updateByExample(@Param("row") MarketSystem row, @Param("example") MarketSystemExample example);

    int updateByPrimaryKeySelective(MarketSystem row);

    int updateByPrimaryKey(MarketSystem row);

    /**
     * @auther zhong
     * @description 用键名更改键值对的值列,deleted:1表示已删除无效的数据
     */
    int updateByKeyName(@Param("key") String keyName,@Param("value") String keyValue,@Param("deleted") int isDeleted);
}